/*设置字体基准值*/
(function () {
    document.addEventListener('DOMContentLoaded', function () {
        var html = document.documentElement;
        var windowWidth = html.clientWidth;
        if(windowWidth>640){
        	windowWidth=640;
        }
        html.style.fontSize = windowWidth / 6.4 + 'px';
    }, false);
})();
$(function(){
	/*广告图轮播*/
	$('.banner').flexslider({
		slideshowSpeed: 5000,
		animationSpeed: 400, 
		directionNav: false, 
		pauseOnHover: true,
		touch: true 
	});	
	$('.flex-control-nav').css("margin-left",-$('.flex-control-nav').width()/2);	

	/*未开通板块*/	
	$container_height=document.documentElement.clientHeight-$(".header").height()-$(".footer").height();
	$(".un-online").css("height",$container_height);
	$(".about-wrap").css("height",$container_height);
})	